const IS_PROD = ["production"].includes(process.env.NODE_ENV);

const plugins = [];
if (IS_PROD) {
  plugins.push("transform-remove-console");
}

module.exports = {
  presets: ["@vue/cli-plugin-babel/preset"],
  plugins, // 加入plugins
};
// module.exports = {
//   presets: ["@vue/cli-plugin-babel/preset"],
// };
